Fix get_request_mode for GtkBoxLayout
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 12 Apr 2019 12:11:28 +0000 (13:11 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 12 Apr 2019 12:14:44 +0000 (13:14 +0100)
commitb91fbfd5a02c57897f31edfb21338aea741c4911
treec232adf05c68e6b3936821bd4d1ab76d6b3752d0
parent88086ea91aa19dc8b8a20b0e560d593cbd9f45e2
Fix get_request_mode for GtkBoxLayout

The default GtkWidgetClass.get_request_mode() is implemented by
GtkContainer; now that GtkBox uses a GtkBoxLayout, we need to implement
it inside the layout manager to preserve the same behavior as the old
GtkBox.

Fixes #1821
gtk/gtkboxlayout.c